<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>debounce</title>
    <style>
        #container{
            width: 100%;
            height: 200px;
            line-height: 200px;
            text-align: center;
            color: #fff;
            background-color: #444; 
            font-size: 30px;
        }
    </style>
</head>
<body>
    <div id="container"></div>
    <button id="cancel">取消防抖</button>
    <script src="debounce1.js"></script>
</body>
</html>